﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace BusinessComponents.Managers
{
    public interface IRoomTypeMgr
    {
        IEnumerable<RoomType> FindAllRoomTypes();
        RoomType GetRoomType(int typeCode);
        bool CheckDuplicateRoomType(string description, int typecode = 0);
        void CreateRoom(RoomType roomType);
        void Add(RoomType roomType);
        void Delete(RoomType roomType);
        void Save();
        bool IsValidExtension(string fileName);
        bool IsValidFileSize(int fileSize);
        string ValidateRoomTypeInfo(string description, string roomSize, string maxOccupant, string standartPrice);
    }
}
